now=$(date +%y%m%d.%s);

for (( i=1; i<50; i++ )) do
  thread=$((i*100));
  ./jmeter.sh -n -t bestv_jmeter_test_$thread.jmx -l bestv_jmeter_test_$thread"_"$now.log &
  sleep 1800;
  ./shutdown.sh
  sleep 600;
  ./jmeter.sh -n -t bestv_jmeter_test2_$thread.jmx -l bestv_jmeter_test2_$thread"_"$now.log &
  sleep 1800;
  ./shutdown.sh
  sleep 600;
done
